﻿<!DOCTYPE html>
<html>
<head>
    <title>@ViewBag.Title</title>
    <link href="@Url.Content("~/Content/Site.css")" rel="stylesheet" type="text/css" />
    <script src="@Url.Content("~/Scripts/jquery-1.5.1.min.js")" type="text/javascript"></script>
</head>
<body>
    <div class="page">
        <div id="header">
            <div id="title">
                <h1>Event Planner&copy;</h1>
            </div>
            <div id="logindisplay">
                @Html.Partial("_LogOnPartial")
            </div>
            <div id="menucontainer">
                <ul id="menu">
            @if(Request.IsAuthenticated)
            {
                    <li>@Html.ActionLink("Mi Cuenta", "MiCuenta", "Cuenta")</li>
                    <li>@Html.ActionLink("Mis Eventos", "ListaUsuario", "Evento")</li>
                    <li>@Html.ActionLink("Organizadores", "Lista", "Organizador")</li>
                    <li>@Html.ActionLink("Contactos","Lista","Contacto")</li>
                    <li>@Html.ActionLink("Acerca", "About", "Home")</li>
            }
            else
            {
                    <li>@Html.ActionLink("Inicio", "Index", "Home")</li>
                    <li>@Html.ActionLink("Eventos", "ListaParticipante", "Evento")</li>
                    <li>@Html.ActionLink("Acerca", "About", "Home")</li>
            } 
                 </ul>
            </div>  
        </div>
        <div id="main">
            @RenderBody()
        </div>
        <div id="footer">
            <p>DAE - Event Planner&copy;</p>
        </div>
    </div>
</body>
</html>